﻿

function display(ID,hiddenorshow){
	var getID=ID.split(",");
	var IDlist=new Array();
	if(hiddenorshow=="show")
	{
		for(var j=0;j<getID.length;j++)
		{
			IDlist[j]=getID[j];
			document.getElementById(IDlist[j]).style.display="";
		}
	}else{
		if(hiddenorshow=="hidden")
		{
			for(var j=0;j<getID.length;j++)
			{
				IDlist[j]=getID[j];
				document.getElementById(IDlist[j]).style.display="none";
			}
		}else{}
	}
}
//调查信息选中效果
function selectTag(showContent,selfObj){
	// 操作标签
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.className = "selectTag";
	// 操作内容
	for(i=0; j=document.getElementById("tagContent"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
}

